home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / sox / com / commerceone / CBL / n1_0 / DescInfo.mod < prev    next >
Encoding:
Extensible Markup Language  |  2000-07-03  |  2.9 KB  |  91 lines  |  [STrk/SCPL]

  1. <?xml version="1.0"?>
  2. <!DOCTYPE schema SYSTEM "urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0">
  3.  
  4. <schema uri="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0" >
  5.  
  6. <intro>
  7. <p>Copyright Notice</p>
  8. <p>Common Business Library 2.0<br/>
  9. Copyright 1999 Commerce One, Inc.</p>
  10. <p>Permission is granted to use, copy, modify and distribute the DTD's, schemas
  11. and modules in the Commerce One Common Business Library Version 2.0 subject to the terms
  12. and conditions specified at http://www.marketsite.net/xml/cbl/copyright.html</p> 
  13. </intro>
  14.  
  15.     <!-- 
  16.         DescInfo provides descriptive information about a product.
  17.         This information is in addition to basic short description or
  18.         long description information about a product.  This information
  19.         is intended to be displayed when showing a description of the
  20.         part.  It is not intended for providing detailed operational
  21.         characteristics of the part.  (That information is usually 
  22.         represented as a ProdAttribute.)
  23.         
  24.         The information may be provided either in coded form or
  25.         as language-specific text strings.  If multiple languages
  26.         are required, this element should be be repeated for each
  27.         language.
  28.      -->
  29.  
  30.     <elementtype name="DescInfo">
  31.         <model>
  32.             <sequence>
  33.                 <!-- A coded value for the attribute being
  34.                     described.   -->
  35.                 <element type="DescInfoAttribCode" name="AttribCode" />
  36.                 
  37.                 <!-- If AttribCode is Other, the characteristic
  38.                     being described is named here in language-specific
  39.                     text.  -->
  40.                 <element type="LangString" name="AttribCodeOther" occurs="?" />
  41.                                 
  42.                 <element type="DescInfoValueCode" name="ValueCode" />
  43.                 
  44.                 <!-- The value in text.  This should be specified
  45.                     only if the ValueCode is Other.   -->
  46.                 <element type="LangString" name="ValueOther" occurs="?"/>
  47.                 
  48.                 <!-- The Agency that understands the coded value.  -->
  49.                 <element type="Agency" occurs="?" />
  50.                                          
  51.             </sequence>
  52.         </model>
  53.     </elementtype>
  54.  
  55.     <!-- A code an identifying item characteristic that is
  56.         being described.  This is based on EANCOM codeset 7081.  -->
  57.     <datatype name="DescInfoAttribCode">
  58.         <enumeration datatype="NMTOKEN">
  59.             <option>Other</option>
  60.             <option>Finish</option>
  61.             <option>Quality</option>
  62.             <option>Color</option>
  63.             <option>Grade</option>
  64.             <option>Keyword</option>
  65.         </enumeration>
  66.     </datatype>
  67.     
  68.     <!-- A code specifying a value for the attribute.  -->
  69.     <datatype name="DescInfoValueCode">
  70.         <enumeration datatype="NMTOKEN" >
  71.             <option>Other</option>
  72.             <option>Red</option>
  73.             <option>Orange</option>
  74.             <option>Yellow</option>
  75.             <option>Green</option>
  76.             <option>Blue</option>
  77.             <option>Violet</option>
  78.             <option>A</option>
  79.         </enumeration>
  80.     </datatype>
  81.     
  82.     <!-- A container for a list of one or more DescInfo  -->
  83.     <elementtype name="ListOfDescInfo">
  84.         <model>
  85.             <element type="DescInfo" occurs="+" />
  86.         </model>
  87.     </elementtype>
  88.   
  89.     
  90. </schema>
  91.